//
//  Invite_RuleIntroduce.m
//  XJMCustomer
//
//  Created by 洗脚么_one on 2017/11/29.
//  Copyright © 2017年 Mr.hu. All rights reserved.
//

#import "Invite_RuleIntroducecoupon.h"
#import <WebKit/WebKit.h>

@interface Invite_RuleIntroducecoupon ()<WKUIDelegate,WKNavigationDelegate>
@property (strong, nonatomic) WKWebView * webViwe;

@end

@implementation Invite_RuleIntroducecoupon

- (void)viewDidLoad {
    [super viewDidLoad];
    
    [self.navigationController setNavigationBarHidden:NO];
    [self addLeftBtn:[UIImage imageNamed:@"fanhui"] Action:@selector(backToPrevious)];
    self.title = @"规则说明";
    
    self.webViwe = [[WKWebView alloc]initWithFrame:CGRectMake(0, 0, ScreenWidth, ScreenHeight-66)]; //http://api.xijiaomo.com/tech.php/help/wap?source=user
    self.webViwe.navigationDelegate =self;  
    NSURLRequest * request =[[NSURLRequest alloc]initWithURL:[NSURL URLWithString:[NSString stringWithFormat:@"http://api.xijiaomo.com/tech.php/help/user_agreement?source=techer_share_rules"]]];
    [self.webViwe loadRequest:request];
    [self.view addSubview:self.webViwe];
    
}


@end
